<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1 {
	width: 195px;
}

.select_width {
	width: 130px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo" cellspacing="1">
	<tr>
		<td colspan="4" class="t_bar2">基本信息</td>

	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>软件企业名称：</td>
		<td colspan="3"><input id="zh_title" name="proposal/zh_title"
			label="软件企业名称" type="text" required
			class="input_css required maxlength:100" style="width: 725px;"
			maxlength="100"
			value="<x:out select="$xmlData/data/proposal/zh_title" />" /></td>
	</tr>
	<tr>
		<td align="right" width="20%"><span class="color_red">*</span>软件企业认定号：</td>
		<td width="30%"><input name="proposal/software_business_no" label="软件企业认定号"
			type="text"  class="input_css required " maxlength="50"
			value="<x:out select="$xmlData/data/proposal/software_business_no" />" /></td>
		<td align="right" width="25%"><span class="color_red">*</span>入选（获评）称号：</td>
		<td width="25%"><input name="proposal/designation" label="入选（获评）称号"
			type="text"  class="input_css required " maxlength="50"
			value="<x:out select="$xmlData/data/proposal/designation" />" /></td>
		
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>入选（获评）年度：</td>
		<td><input name="proposal/selected_year" label="入选（获评）年度"
			type="text"  class="input_css required " maxlength="4" onfocus="InitInput.setNumber(this,4,0,0)"
			value="<x:out select="$xmlData/data/proposal/selected_year" />" /></td>
		<td align="right"><span class="color_red">*</span>发证机构：</td>
		<td><input name="proposal/institution" label="发证机构"
			type="text"  class="input_css required " maxlength="50"
			value="<x:out select="$xmlData/data/proposal/institution" />" /></td>
		
	</tr>
	<tr>
		<td align="right" nowrap><span class="color_red">*</span>发证时间：</td>
		<td><c:set var="hold_date">
				<x:out select="$xmlData/data/proposal/hold_date" />
			</c:set> <cpt:date id="hold_date" name="proposal/hold_date"
				value="${hold_date}" className=" required date" label="发证时间"></cpt:date>
		</td>
		<td align="right" nowrap><span class="color_red">*</span>证书编号：</td>
		<td><input name="proposal/certificate_no" label="证书编号" type="text"
			required class="input_css required maxlength:100" maxlength="100"
			value="<x:out select="$xmlData/data/proposal/certificate_no" />" /></td>
	</tr>
	<tr>
	    <td align="right"><span class="color_red">*</span>是否首次入选（获评）：</td>
		<td nowrap valign="middle">
		<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="selected" label="是" value="01" /><span style="vertical-align: middle;margin-left: 5px">是</span></label>
		<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="selected" label="否" value="02" /><span style="vertical-align: middle;margin-left: 5px">否</span></label>
		<input type="hidden" name="proposal/selected_value" id="selected_value" class="required" value="<x:out select="$xmlData/data/proposal/selected_value" />" label="是否首次入选（获评）" /> 
		<input type="hidden" name="proposal/selected_name" id="selected_name" value="<x:out select="$xmlData/data/proposal/selected_name" />" label="是否首次入选（获评）" />
	    </td>
		<td align="right" nowrap><span class="color_red">*</span>申报日期：</td>
		<td ><c:set var="submit_date">
				<x:out select="$xmlData/data/proposal/submit_date" />
			</c:set> <cpt:date id="submit_date" name="proposal/submit_date"
				value="${submit_date}" className=" required date" label="申报日期"></cpt:date>
		</td>

	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo1" cellspacing="1">
	<tr>
		<td colspan="4" class="t_bar2"><span class="color_red">*</span>${year-1 }年度企业经营情况</td>
	</tr>
	<tr>
	<td align="right" width="20%"><span class="color_red">*</span>企业总收入（万元）：</td>
	<td width="30%"><input name="proposal/income_total"  id="income_total"   type="text" 
			class="input_css required valueCompare:income_software:income_total" style="text-align: right" label="企业总收入"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="changePre();"
			value="<x:out select="$xmlData/data/proposal/income_total" />" /></td>
	<td align="right" width="25%"><span class="color_red">*</span>其中软件总收入（万元）：</td>
	<td width="25%"><input name="proposal/income_software"  id="income_software"   type="text" 
			class="input_css required" style="text-align: right" label="其中软件总收入"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="changePre();"
			value="<x:out select="$xmlData/data/proposal/income_software" />" /></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>自产软件收入（万元）：</td>
	<td><input name="proposal/income_software_noeself"  id="income_software_noeself"   type="text" 
			class="input_css required" style="text-align: right" label="自产软件收入"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="changePre();"
			value="<x:out select="$xmlData/data/proposal/income_software_noeself" />" /></td>
	<td align="right" nowrap><span class="color_red">*</span>自产软件收入占软件总收入占比（%）：</td>
	<td><input name="proposal/income_software_noeself_pre"  id="income_software_noeself_pre"   type="text" 
			class="input_css gray" style="text-align: right" label="自产软件收入占软件总收入占比"
			disabled 
			value="<x:out select="$xmlData/data/proposal/income_software_noeself_pre" />" /></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>服务外包收入（万元）：</td>
	<td><input name="proposal/service"  id="service"   type="text" 
			class="input_css required" style="text-align: right" label="服务外包收入"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="changePre();"
			value="<x:out select="$xmlData/data/proposal/service" />" /></td>
	<td align="right" nowrap><span class="color_red">*</span>服务外包收入占软件总收入占比（%）：</td>
	<td><input name="proposal/service_pre"  id="service_pre"   type="text" 
			class="input_css gray" style="text-align: right" label="自服务外包收入占软件总收入占比"
			disabled 
			value="<x:out select="$xmlData/data/proposal/service_pre" />" /></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>软件研发投入（万元）：</td>
	<td><input name="proposal/software_research"  id="software_research"   type="text" 
			class="input_css required" style="text-align: right" label="软件研发投入"
			onfocus="InitInput.setNumber(this,9,4,2)"
			onchange="changePre();"
			value="<x:out select="$xmlData/data/proposal/software_research" />" /></td>
	<td align="right"><span class="color_red">*</span>软件研发投入占软件总收入占比（%）：</td>
	<td><input name="proposal/software_research_pre"  id="software_research_pre"   type="text" 
			class="input_css gray" style="text-align: right" label="软件研发收入占软件总收入占比"
			disabled 
			value="<x:out select="$xmlData/data/proposal/software_research_pre" />" /></td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>主要业务方向：</td>
		<td nowrap colspan="3" valign="middle">
		<label> <input type="checkbox" class="do " id="advant_01" style="vertical-align: middle;" name="business" label="开发、销售软件产品" value="01" /><span style="vertical-align: middle;margin-left: 5px">开发、销售软件产品</span></label>
		<label> <input type="checkbox" class="do " id="advant_02" style="vertical-align: middle;" name="business" label="定制软件" value="02" /><span style="vertical-align: middle;margin-left: 5px">定制软件</span></label>
		<label> <input type="checkbox" class="do " id="advant_03" style="vertical-align: middle;" name="business" label="系统集成" value="03" /><span style="vertical-align: middle;margin-left: 5px">系统集成</span></label>
		<label> <input type="checkbox" class="do " id="advant_04" style="vertical-align: middle;" name="business" label="软件支持服务" value="04" /><span style="vertical-align: middle;margin-left: 5px">软件支持服务</span></label>
		<label> <input type="checkbox" class="do " id="advant_05" style="vertical-align: middle;" name="business" label="软件测试 " value="05" /><span style="vertical-align: middle;margin-left: 5px">软件测试 </span></label>
		<label> <input type="checkbox" class="do " id="advant_06" style="vertical-align: middle;" name="business" label="其他" value="06" /><span style="vertical-align: middle;margin-left: 5px">其他</span></label>
		<input type="hidden" name="proposal/business_value" id="business_value" class="required" value="<x:out select="$xmlData/data/proposal/business_value" />" label="主要业务方向" /> 
		<input type="hidden" name="proposal/business_name" id="business_name" value="<x:out select="$xmlData/data/proposal/business_name" />" label="主要业务方向" />
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>主要产品类别：</td>
		<td nowrap colspan="3" valign="middle">
		<label> <input type="checkbox" class="do " id="advant_01" style="vertical-align: middle;" name="product" label="系统软件" value="01" /><span style="vertical-align: middle;margin-left: 5px">系统软件</span></label>
		<label> <input type="checkbox" class="do " id="advant_02" style="vertical-align: middle;" name="product" label="支撑软件" value="02" /><span style="vertical-align: middle;margin-left: 5px">支撑软件</span></label>
		<label> <input type="checkbox" class="do " id="advant_03" style="vertical-align: middle;" name="product" label="应用软件" value="03" /><span style="vertical-align: middle;margin-left: 5px">应用软件</span></label>
		<label> <input type="checkbox" class="do " id="advant_04" style="vertical-align: middle;" name="product" label="软件服务 " value="04" /><span style="vertical-align: middle;margin-left: 5px">软件服务 </span></label>
		<input type="hidden" name="proposal/product_value" id="product_value" class="required" value="<x:out select="$xmlData/data/proposal/product_value" />" label="主要产品类别" /> 
		<input type="hidden" name="proposal/product_name" id="product_name" value="<x:out select="$xmlData/data/proposal/product_name" />" label="主要产品类别" />
		</td>
	</tr>
</table>
<table  id="tblSoftwares" cellpadding="0" class="table01" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="60%">主要软件产品名称</th> 
				        <th class="TblHead" align="center"  width="30%">软件产品登记证书号</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selSoftwares" >
						</td>
						<td align="center">&nbsp;
							<span name="softwares|software[0]@seq_no" >[index]</span> 
						</td>
						<td>
							<input type="text" name="softwares|software[0]|name"  class=" input_text required" label="主要软件产品名称" maxlength="50" style="width:80%"/>
						</td>
						
						<td>
							<input type="text" name="softwares|software[0]|certificate_no"  maxlength="50" label="软件产品登记证书号" style="width:80%" class=" input_text required" />
						</td> 
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/softwares/software" var="software">
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selSoftwares" >
						</td>
						<td align="center">&nbsp;
							<span name="softwares/software[${flag}${index}]@seq_no" ><x:out select="$software/@seq_no"/></span> 
						</td>
						<td>
							<input type="text" name="softwares/software[${flag}${index}]/name"  label="主要软件产品名称" style="width:80%"   class=" input_text required" value="<x:out select="$software/name" />" maxlength="50"/>
						</td>
						
						<td >
							<input type="text" name="softwares/software[${flag}${index}]/certificate_no" label="软件产品登记证书号" maxlength="50" style="width:80%"  class=" input_text required" value="<x:out select="$software/certificate_no" />"/>
						</td> 
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					
				</tbody>
					</table>
					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblSoftwares',5,'软件产品信息最多只能填写5条')){addNewRow('tblSoftwares');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblSoftwares','selSoftwares')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblSoftwares','selSoftwares')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblSoftwares','软件产品信息');">
					</td></tr>
	</table>	
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo2" cellspacing="1">
	<tr>
		<td colspan="8" class="t_bar2"><span class="color_red">*</span>企业人员构成情况</td>

	</tr>

	<tr>

		<td align="right">职工总数（人）：</td>
		<td><input name="proposal/staff_total"  id="staff_total"   type="text" 
			class="input_css required" style="text-align: right" label="职工总数"
			onfocus="InitInput.setNumber(this,9,0,0)"
			onchange="setPre();setPre2();"
			value="<x:out select="$xmlData/data/proposal/staff_total" />" /></td>
		<td align="right" colspan="2">大专以上学历者占比（%）：</td>
		<td>
		<input name="proposal/junior_college_pre_pre" 
		label="100%" id="junior_college_pre_pre" value='100' type="hidden">
		<input name="proposal/junior_college_pre"  id="junior_college_pre"   type="text" 
			class="input_css required gray valueCompare:junior_college_pre:junior_college_pre_pre" style="text-align: right"  disabled
			onfocus="InitInput.setNumber(this,9,2,2)" label="大专以上学历者占比"
			value="<x:out select="$xmlData/data/proposal/junior_college_pre" />" /></td>
	</tr>
	<tr>

		<td align="right">软件技术人员数（人）：</td>
		<td><input name="proposal/teach_staff"  id="teach_staff"   type="text"  label="软件技术人员数"
			class="input_css valueGreatEqual:staff_total:teach_staff required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,0,0)"
			onchange="setPre();"
			value="<x:out select="$xmlData/data/proposal/teach_staff" />" /></td>
		<td align="right" colspan="2">软件技术人员数占职工总数（%）：</td>
		<td><input name="proposal/teach_staff_pre"  id="teach_staff_pre"   type="text" 
			class="input_css gray valueCompare:teach_staff_pre:junior_college_pre_pre"  disabled style="text-align: right"
			onfocus="InitInput.setNumber(this,9,2,2)" label="软件技术人员数占职工总数"
			value="<x:out select="$xmlData/data/proposal/teach_staff_pre" />" /></td>
	</tr>

	<tr>
		<td align="center" rowspan="2">职工学历构成（人）</td>
		<td align="center">大专</td>
		<td align="center">本科</td>
		<td align="center">硕士</td>
		<td align="center">博士</td>
	</tr>
	<tr align="center">

		<td >
		    <input name="proposal/edu_total" id="edu_total" type="hidden" label="职工学历构成总数" value="<x:out select="$xmlData/data/proposal/edu_total" />"/>
		    <input name="proposal/junior_college"  id="junior_college"   type="text" 
			class="input_css valueCompare:edu_total:staff_total required" style="text-align: right" label="大专"
			onfocus="InitInput.setNumber(this,9,0,0)"
			onchange="countNum('','junior_college,undergraduate,master,doctor','edu_total');setPre2();"
			value="<x:out select="$xmlData/data/proposal/junior_college" />" /></td>
		<td><input name="proposal/undergraduate" id="undergraduate" type="text" 
			class="input_css required" style="text-align: right" label="本科"
			onfocus="InitInput.setNumber(this,9,0,0)"
			onchange="countNum('','junior_college,undergraduate,master,doctor','edu_total');setPre2();"
			value="<x:out select="$xmlData/data/proposal/undergraduate" />" /></td>
		<td ><input name="proposal/master" id="master" type="text" 
			class="input_css required" style="text-align: right" label="硕士"
			onfocus="InitInput.setNumber(this,9,0,0)"
			onchange="countNum('','junior_college,undergraduate,master,doctor','edu_total');setPre2();"
			value="<x:out select="$xmlData/data/proposal/master" />" /></td>
		<td ><input name="proposal/doctor" id="doctor"  type="text" 
			class="input_css required" style="text-align: right" label="博士"
			onfocus="InitInput.setNumber(this,9,0,0)"
		    onchange="countNum('','junior_college,undergraduate,master,doctor','edu_total');setPre2();"
			value="<x:out select="$xmlData/data/proposal/doctor" />" /></td>
	</tr>

	<tr>
		<td align="center" rowspan="2">软件专业人员构成（人）</td>
		<td align="center">研发人数</td>
		<td align="center" colspan="2">市场推广与技术服务人员数</td>
		<td align="center">工程项目管理人员数</td>
	</tr>
	<tr align="center">

		<td >
		<input name="proposal/assistant_total" id="assistant_total" label="软件专业人员构成" type="hidden" value="<x:out select="$xmlData/data/proposal/assistant_total" />"/>
		<input name="proposal/assistant_level"  id="assistant_level"   type="text" 
			class="input_css valueCompare:assistant_total:staff_total required" style="text-align: right" label="研发人数"
			onfocus="InitInput.setNumber(this,9,0,0)"
			onchange="countNum('','assistant_level,middle_level,high_level','assistant_total');"
			value="<x:out select="$xmlData/data/proposal/assistant_level" />" /></td>
		<td colspan="2"><input name="proposal/middle_level"  id="middle_level"   type="text" 
			class="input_css required" style="text-align: right" label="市场推广与技术服务人员数"
			onfocus="InitInput.setNumber(this,9,0,0)"
			onchange="countNum('','assistant_level,middle_level,high_level','assistant_total');"
			value="<x:out select="$xmlData/data/proposal/middle_level" />" /></td>
		<td ><input name="proposal/high_level"  id="high_level"   type="text" 
			class="input_css required" style="text-align: right"
			onfocus="InitInput.setNumber(this,9,0,0)" label="工程项目管理人员数"
			onchange="countNum('','assistant_level,middle_level,high_level','assistant_total');"
			value="<x:out select="$xmlData/data/proposal/high_level" />" /></td>
	</tr>

</table>
<div class="t_bar"><span class="color_red">*</span>企业软件开发环境</div>
<table id="basicInfo3" cellpadding="0" class="t_css table01" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
    <tr>
	<td align="right"><span class="color_red">*</span>开发场地面（㎡）：</td>
	<td colspan="3"><input name="proposal/area_proportion"  id="area_proportion"   type="text" 
			class="input_css required" style="text-align: right" label="开发场地面"
			onfocus="InitInput.setNumber(this,9,2,2)"
			value="<x:out select="$xmlData/data/proposal/area_proportion" />" /></td>
	</tr>
    <tr>
	<td align="right"><span class="color_red">*</span>大中小型机（台）：</td>
	<td><input name="proposal/mainframe"  id="mainframe"   type="text" 
			class="input_css required" style="text-align: right" label="大中小型机"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/proposal/mainframe" />" /></td>
	<td align="right"><span class="color_red">*</span>服务器（台）：</td>
	<td><input name="proposal/servicer"  id="servicer"   type="text" 
			class="input_css required" style="text-align: right" label="服务器"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/proposal/servicer" />" /></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>工作站（台）：</td>
	<td><input name="proposal/workstation"  id="workstation"   type="text" 
			class="input_css required" style="text-align: right" label="工作站"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/proposal/workstation" />" /></td>
	<td align="right"><span class="color_red">*</span>PC机（台）：</td>
	<td><input name="proposal/pc"  id="pc"   type="text" 
			class="input_css required" style="text-align: right" label="PC机"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/proposal/pc" />" /></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>笔记本（台）：</td>
	<td><input name="proposal/notebook"  id="notebook"   type="text" 
			class="input_css required" style="text-align: right" label="笔记本"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/proposal/notebook" />" /></td>
	<td align="right"><span class="color_red">*</span>交换机（台）：</td>
	<td><input name="proposal/switchboard"  id="switchboard"   type="text" 
			class="input_css required" style="text-align: right" label="交换机"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/proposal/switchboard" />" /></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>路由器（台）：</td>
	<td><input name="proposal/router"  id="router"   type="text" 
			class="input_css required" style="text-align: right" label="路由器"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/proposal/router" />" /></td>
	<td align="right"><span class="color_red">*</span>集线器（台）：</td>
	<td><input name="proposal/concentrator"  id="concentrator"   type="text" 
			class="input_css required" style="text-align: right" label="集线器"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/proposal/concentrator" />" /></td>
	</tr>
</table>

<div class="t_bar"><span class="color_red">*</span>企业取得资质情况</div>
<table  id="tblAptitudes" cellpadding="0" class="table01" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="25%">资质（认证）类别</th> 
				        <th class="TblHead" align="center"  width="15%">通过认证时间</th> 
						<th class="TblHead" align="center"  width="25%">认证级别</th> 
						<th class="TblHead" align="center"  width="25%">认证机构名称</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selAptitudes" >
						</td>
						<td align="center">&nbsp;
							<span name="aptitudes|aptitude[0]@seq_no" >[index]</span> 
						</td>
						<td>
							<input type="text" name="aptitudes|aptitude[0]|aptitude_type"  class=" input_text required" maxlength="50" style="width:80%" label="资质（认证）类别"/>
						</td>
						<td align="center" nowrap><input  id="aptitude_start_date_[0]" name="aptitudes|aptitude[0]|start_date" label="通过认证时间" value="" class=" required input_text date " style="width:70px" /></td>	
					    <td>
							<input type="text" name="aptitudes|aptitude[0]|certification_level"   label="认证级别" maxlength="50" style="width:80%" class=" input_text required" />
						</td> 
						<td>
							<input type="text" name="aptitudes|aptitude[0]|certification_name"   label="认证机构名称" maxlength="50" style="width:80%" class=" input_text required" />
						</td> 
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/aptitudes/aptitude" var="aptitude">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selAptitudes" >
						</td>
						<td align="center">&nbsp;
							<span name="aptitudes/aptitude[${flag}${index}]@seq_no" ><x:out select="$aptitude/@seq_no"/></span> 
						</td>
						<td>
							<input type="text" name="aptitudes/aptitude[${flag}${index}]/aptitude_type"   style="width:80%"  label="资质（认证）类别" class=" input_text required" value="<x:out select="$aptitude/aptitude_type" />" maxlength="50"/>
						</td>
						<td align="center" nowrap>
						<c:set var="start_date" scope="page"><x:out select="$aptitude/start_date"/></c:set>
						<input  id="aptitude_start_date_[${flag}${index}]" value="${start_date}" name="aptitudes/aptitude[${flag}${index}]/start_date" class="required date input_text" style="width:70px" label="通过认证时间" /> 
			           	</td>
						<td >
							<input type="text" name="aptitudes/aptitude[${flag}${index}]/certification_level"  label="认证级别" maxlength="50"  style="width:80%"  class=" input_text required" value="<x:out select="$aptitude/certification_level" />"/>
						</td> 
						<td >
							<input type="text" name="aptitudes/aptitude[${flag}${index}]/certification_name"  label="认证机构名称" maxlength="50" style="width:80%"  class=" input_text required" value="<x:out select="$aptitude/certification_name" />"/>
						</td> 
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblAptitudes");
		            </script>
				</tbody>
					</table>
					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblAptitudes',99,'企业取得资质情况最多只能填写99条')){addNewRow('tblAptitudes');showAllDateTag('tblAptitudes');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblAptitudes','selAptitudes')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblAptitudes','selAptitudes')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblAptitudes','企业取得资质情况');">
					</td></tr>
	</table>	
<div class="t_bar"><span class="color_red">*</span>近三年税收优惠情况（金额单位：万元）</div>
<table  id="basicInfo4" cellpadding="0" class="t_css table01" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
<tr>
<td align="center" width="25%">享受税收减免</td>
<td align="center" width="25%">增值税</td>
<td align="center" width="25%">营业税</td>
<td align="center" width="25%">所得税</td>
</tr>
<tr>
<td align="center" width="25%">${year-3 }年</td>
<td align="center" width="25%">
<input name="proposal/vat1"  id="vat1" onchange="countFundAuto('','vat1,vat2,vat3','total_vat');"  type="text" class="input_css required" style="text-align: right" label="${year-3 }年增值税" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/vat1" />" />
</td>
<td align="center" width="25%">
<input name="proposal/sales_tax1"  id="sales_tax1"  onchange="countFundAuto('','sales_tax1,sales_tax2,sales_tax3','total_sales_tax');"  type="text" class="input_css required" style="text-align: right" label="${year-3 }年营业税" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sales_tax1" />" />
</td>
<td align="center" width="25%">
<input name="proposal/income_tax1"  id="income_tax1"  onchange="countFundAuto('','income_tax1,income_tax2,income_tax3','total_income_tax');" type="text" class="input_css required" style="text-align: right" label="${year-3 }年所得税" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/income_tax1" />" />
</td>
</tr>
<tr>
<td align="center" width="25%">${year-2 }年</td>
<td align="center" width="25%">
<input name="proposal/vat2"  id="vat2"   type="text" onchange="countFundAuto('','vat1,vat2,vat3','total_vat');" class="input_css required" style="text-align: right" label="${year-2 }年增值税" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/vat2" />" />
</td>
<td align="center" width="25%">
<input name="proposal/sales_tax2"  id="sales_tax2"  onchange="countFundAuto('','sales_tax1,sales_tax2,sales_tax3','total_sales_tax');" type="text" class="input_css required" style="text-align: right" label="${year-2 }年营业税" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sales_tax2" />" />
</td>
<td align="center" width="25%">
<input name="proposal/income_tax2"  id="income_tax2"  onchange="countFundAuto('','income_tax1,income_tax2,income_tax3','total_income_tax');" type="text" class="input_css required" style="text-align: right" label="${year-2 }年所得税" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/income_tax2" />" />
</td>
</tr>
<tr>
<td align="center" width="25%">${year-1 }年</td>
<td align="center" width="25%">
<input name="proposal/vat3"  id="vat3"   type="text" onchange="countFundAuto('','vat1,vat2,vat3','total_vat');" class="input_css required" style="text-align: right" label="${year-1 }年增值税" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/vat3" />" />
</td>
<td align="center" width="25%">
<input name="proposal/sales_tax3"  id="sales_tax3"  onchange="countFundAuto('','sales_tax1,sales_tax2,sales_tax3','total_sales_tax');" type="text" class="input_css required" style="text-align: right" label="${year-1 }年营业税" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sales_tax3" />" />
</td>
<td align="center" width="25%">
<input name="proposal/income_tax3"  id="income_tax3" onchange="countFundAuto('','income_tax1,income_tax2,income_tax3','total_income_tax');"  type="text" class="input_css required" style="text-align: right" label="${year-1 }年所得税" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/income_tax3" />" />
</td>
</tr>
<tr>
<td align="center" width="25%">合计</td>
<td align="center" width="25%">
<input name="proposal/total_vat"  id="total_vat"   type="text" class="input_css gray" disabled style="text-align: right" label="近三年增值税合计" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_vat" />" />
</td>
<td align="center" width="25%">
<input name="proposal/total_sales_tax"  id="total_sales_tax"   type="text" class="input_css gray" disabled style="text-align: right" label="近三年营业税合计" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_sales_tax" />" />
</td>
<td align="center" width="25%">
<input name="proposal/total_income_tax"  id="total_income_tax"   type="text" class="input_css gray" disabled style="text-align: right" label="近三年所得税合计" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/total_income_tax" />" />
</td>
</tr>
<tr>
<td align="left" colspan="4"><strong><span class="color_red">*</span>企业享受税收优惠政策情况说明</strong>（限300字）</td></tr>
      <tr >
      <td colspan="4">
			<textarea rows="5" cols="150"  class="input_textarea required  maxlength:300"   name='proposal/revenue'  label="企业享受税收优惠政策情况说明"><x:out select="$xmlData/data/proposal/revenue"/></textarea>
		   <input type='hidden' name='proposal/revenue_hidden' id='proposal/revenue_hidden' value=''>
		  </td>
      </tr>
</table>



<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo5" cellspacing="1">

	<tr>
		<td colspan="6" class="t_bar2">申报项目资金情况（金额单位：万元）</td>

	</tr>
	<tr>
		<td align="right">项目类别：</td>
		<td><x:out select="$xmlData/data/proposal/grant_name" /></td>
		<td align="right"><span class="color_red">*</span>申请金额：</td>
		<td colspan="3"><input name="proposal/sqje" id="source_apply"
			label="申请金额" type="text" 
			class="input_css  required"  style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/sqje" />" /></td>

	</tr>
	<tr>
		<td align="right">支持方式：</td>
		<td><span name="proposal/sponsor_category"><x:out
					select="$xmlData/data/proposal/sponsor_category" /></span></td>

		<td align="right">资金级次：</td>
		<td colspan="3"><span name="proposal/fund_level">市级</span></td>
	</tr>
	<tr>
		<td align="right" nowrap>归口管理部门：</td>
		<td><span name="proposal/org_name">无锡市信息化和无线电管理局</span></td>
		<td align="right">管理类别：</td>
		<td colspan="3"><span name="proposal/manage_category"><x:out
					select="$xmlData/data/proposal/manage_category" /></span></td>

	</tr>
	<%-- <tr>
		<td align="right" nowrap><span class="color_red">*</span>项目所属类别：</td>
		<td nowrap colspan="5"><c:set var="category">
				<x:out select="$xmlData/data/proposal/category_value" />
			</c:set> <cpt:checkbox key="category" name="category" repeatColumn="9"
				style="border: 0px; padding: 0px; margin: 0px;float:left;"></cpt:checkbox>
			<input type="hidden" id="category_value"
			name="proposal/category_value" class="required" value="${category}"
			label="项目所属类别"> <input type="hidden"
			name="proposal/category_name"
			value="<x:out select="$xmlData/data/proposal/category_name" />">
		</td>
	</tr> --%>
	<tr style="display: none">
		<td></td>
	</tr>
	<tr>
		<td align="right" nowrap><span class="color_red">*</span>项目所属产业：</td>
		<td nowrap colspan="5"><c:set var="industry">
				<x:out select="$xmlData/data/proposal/industry_value" />
			</c:set> <cpt:checkbox key="industry" name="industry" repeatColumn="5"
				style="border: 0px; padding: 0px; margin: 0px;float:left;"></cpt:checkbox>
			<input type="hidden" id="industry_value"
			name="proposal/industry_value" class="required" value="${industry}"
			label="项目所属产业"> <input type="hidden"
			name="proposal/industry_name"
			value="<x:out select="$xmlData/data/proposal/industry_name" />">
		</td>
	</tr>
	<tr>
		<td align="right">功能分类：</td>
		<td colspan="5"><span name="proposal/grant_function"><x:out
					select="$xmlData/data/proposal/grant_function" /></span></td>

	</tr>
</table>
<table id="basicInfo6" width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr>
		<td class="t_bar2">申请资助依据条款</td>

	</tr>
	<tr>
		<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span
			name="proposal/policy_foundation"><x:out
					select="$xmlData/data/proposal/policy_foundation" /></span>
		</td>
	</tr>
	<tr>
		<td class="t_bar2"><span class="color_red">*</span>项目概述：简要概括企业的经营情况、工作成就、发展前景以及在本行业中的地位和作用（限400字）</td>

	</tr>
	 <tr >
      <td >
			<textarea rows="5" cols="150"  class="input_textarea required  maxlength:400"   name='proposal/summarize'  label="项目概述"><x:out select="$xmlData/data/proposal/summarize"/></textarea>
		   <input type='hidden' name='proposal/summarize_hidden' id='proposal/summarize_hidden' value=''>
		  </td>
      </tr>
</table>
<br />




<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1" id="basicInfo7">
	<tr>
		<td class="t_bar2" colspan="8">人员信息</td>

	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>项目联系人：</td>
		<td><input name="proposal/contact_psn_cname" label="项目联系人"
			type="text" required class="input_css required" maxlength="100"
			value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />" />
		</td>
		<td align="right"><span class="color_red">*</span>联系电话：</td>
		<td><input name="proposal/contact_psn_tel" label="联系电话"
			type="text" required class="input_css required" maxlength="50"
			value="<x:out select="$xmlData/data/proposal/contact_psn_tel" />" />
		</td>
		<td align="right"><span class="color_red">*</span>联系手机：</td>
		<td><input name="proposal/contact_psn_mobile" label="联系手机"
			type="text" required maxlength="11" required
			class="input_css required mobile" maxlength="20"
			value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />" />
		</td>
		<td align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td><input name="proposal/contact_psn_email" label="电子邮箱"
			type="text" required class="input_css required email" maxlength="100"
			value="<x:out select="$xmlData/data/proposal/contact_psn_email" />" />
		</td>
	</tr>
	<tr>
		<td align="right">项目负责人：</td>
		<td><span name="proposal/fzr_psnname"><x:out
					select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
		</td>
		<td align="right">联系电话：</td>
		<td><span name="proposal/fzr_tel"><x:out
					select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /></span>
		</td>
		<td align="right">联系手机：</td>
		<td><span name="proposal/fzr_mobile"><x:out
					select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span>
		</td>
		<td align="right">电子邮箱：</td>
		<td><span name="proposal/fzr_mail"><x:out
					select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span>
		</td>
	</tr>


</table>

<script type="text/javascript">

function setPre(){
	var  teach_staff=$("#teach_staff").val();
    var staff_total=$("#staff_total").val();
    $("#teach_staff_pre").val(formatVal(teach_staff*100/staff_total));
	
}


function setPre2(){
	var  edu_total=$("#edu_total").val();
    var  staff_total=$("#staff_total").val();
    if(staff_total==''){
    	$("#junior_college_pre").val("0.00");
    }else{
    $("#junior_college_pre").val(formatVal(edu_total*100/staff_total));
    }
}
function changePre(){
	var income_total = $("#income_software").val();
	var service = $("#service").val();
	var software_research = $("#software_research").val();
	var income_software_noeself = $("#income_software_noeself").val();
	if(income_total =='' || parseInt(income_total) == 0){
		$("#service_pre").val("0.00");
		$("#software_research_pre").val("0.00");
		$("#income_software_noeself_pre").val("0.00");
	}else{
		$("#service_pre").val(formatVal(service*100/income_total));
		$("#software_research_pre").val(formatVal(software_research*100/income_total));
		$("#income_software_noeself_pre").val(formatVal(income_software_noeself*100/income_total));
	}
}
</script>


